34 research outputs found

    Exploring the eradication of code smells: An empirical and theoretical perspective

    Get PDF
    This article has been made available through the Brunel Open Access Publishing Fund - Copyright @ 2010 Hindawi Publishing CorporationCode smells reflect code decay, and, as such, developers should seek to eradicate such smells through application of “deodorant” in the form of one or more refactorings. However, a relative lack of studies exploring code smells either theoretically or empirically when compared with literature on refactoring suggests that there are reasons why smell eradication is neither being applied in anger, nor the subject of significant research. In this paper, we present three studies as supporting evidence for this stance. The first is an analysis of a set of five, open-source Java systems in which we show very little tendency for smells to be eradicated by developers; the second is an empirical study of a subsystem of a proprietary, C# web-based application where practical problems arise in smell identification and the third, a theoretical enumeration of smell-related refactorings to suggest why smells may be left alone from an effort perspective. Key findings of the study were that first, smells requiring application of simple refactorings were eradicated in favour of smells requiring more complex refactorings; second, a wide range of conflicts and anomalies soon emerged when trying to identify smelly code; an interesting result with respect to comment lines was also observed. Finally, perceived (estimated) effort to eradicate a smell may be a key factor in explaining why smell eradication is avoided by developers. The study thus highlights the need for a clearer research strategy on the issue of code smells and all aspects of their identification and measurement.The research in this paper was supported by a grant from the UK Engineering and Physical Sciences Research Council (EPSRC) (Grant no: EP/G031126/1

    The Generalised Raychaudhuri Equations : Examples

    Get PDF
    Specific examples of the generalized Raychaudhuri Equations for the evolution of deformations along families of DD dimensional surfaces embedded in a background NN dimensional spacetime are discussed. These include string worldsheets embedded in four dimensional spacetimes and two dimensional timelike hypersurfaces in a three dimensional curved background. The issue of focussing of families of surfaces is introduced and analysed in some detail.Comment: 8 pages (Revtex, Twocolumn format). Corrected(see section on string worldsheets), reorganised and shortened slightl

    Absence of association between pyronaridine in vitro responses and polymorphisms in genes involved in quinoline resistance in Plasmodium falciparum

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>The aim of the present work was to assess the <it>in vitro </it>cross-resistance of pyronaridine with other quinoline drugs, artesunate and several other commonly used anti-malarials and to evaluate whether decreased susceptibility to pyronaridine could be associated with genetic polymorphisms in genes involved in reduced quinoline susceptibility, such as <it>pfcrt</it>, <it>pfmdr1</it>, <it>pfmrp </it>and <it>pfnhe</it>.</p> <p>Methods</p> <p>The <it>in vitro </it>chemosusceptibility profiles of 23 strains of <it>Plasmodium falciparum </it>were analysed by the standard 42-hour <sup>3</sup>H-hypoxanthine uptake inhibition method for pyronaridine, artesunate, chloroquine, monodesethylamodiaquine, quinine, mefloquine, lumefantrine, atovaquone, pyrimethamine and doxycycline. Genotypes were assessed for <it>pfcrt</it>, <it>pfmdr1</it>, <it>pfnhe-1 </it>and <it>pfmrp </it>genes.</p> <p>Results</p> <p>The IC<sub>50 </sub>values for pyronaridine ranged from 15 to 49 nM (geometric mean = 23.1 nM). A significant positive correlation was found between responses to pyronaridine and responses to artesunate (<it>r<sup>2 </sup></it>= 0.20; <it>P </it>= 0.0317) but too low to suggest cross-resistance. No significant correlation was found between pyronaridine IC<sub>50 </sub>and responses to other anti-malarials. Significant associations were not found between pyronaridine IC<sub>50 </sub>and polymorphisms in <it>pfcrt</it>, <it>pfmdr1</it>, <it>pfmrp </it>or <it>pfnhe-1</it>.</p> <p>Conclusion</p> <p>There was an absence of cross-resistance between pyronaridine and quinolines, and the IC<sub>50 </sub>values for pyronaridine were found to be unrelated to mutations in the transport protein genes <it>pfcrt</it>, <it>pfmdr1</it>, <it>pfmrp </it>or <it>pfnhe-1</it>, known to be involved in quinoline resistance. These results confirm the interest and the efficacy of the use of a combination of pyronaridine and artesunate in areas in which parasites are resistant to quinolines.</p

    Preoperative Behavioural Intervention versus standard care to Reduce Drinking before elective orthopaedic Surgery (PRE-OP BIRDS):Protocol for a multicentre pilot randomised controlled trial

    Get PDF
    Background Evidence suggests that increased preoperative alcohol consumption increases the risk of postoperative complications; therefore, a reduction or cessation in alcohol intake before surgery may reduce perioperative risk. Preoperative assessment presents an opportunity to intervene to optimise patients for surgery. This multicentre, two-arm, parallel group, individually randomised controlled trial will investigate whether a definitive trial of a brief behavioural intervention aimed at reducing preoperative alcohol consumption is feasible and acceptable to healthcare professionals responsible for its delivery and the preoperative elective orthopaedic patient population. Methods Screening will be conducted by trained healthcare professionals at three hospitals in the North East of England. Eligible patients (those aged 18 or over, listed for elective hip or knee arthroplasty surgery and scoring 5 or more or reporting consumption of six or more units on a single occasion at least weekly on the alcohol screening tool) who enrol in the trial will be randomised on a one-to-one non-blinded basis to either treatment as usual or brief behavioural intervention delivered in the pre-assessment clinic. Patients will be followed up 1–2 days pre-surgery, 1–5 days post-surgery (as an in-patient), 6 weeks post-surgery, and 6 months post intervention. Feasibility will be assessed through rates of screening, eligibility, recruitment, and retention to 6-month follow-up. An embedded qualitative study will explore the acceptability of study methods to patients and staff. Discussion This pilot randomised controlled trial will establish the feasibility and acceptability of trial procedures reducing uncertainties ahead of a definitive randomised controlled trial to establish the effectiveness of brief behavioural intervention to reduce alcohol consumption in the preoperative period and the potential impact on perioperative complications
    corecore